package com.tim.app.server.result;

import java.util.List;

/**
 * Created by wdy on 2017/8/24.
 */

public class InvateRecoderBean {

    /**
     * code : 10000
     * message : success
     * total : 1
     * res : {"arraylist":{"pageSize":10,"shownumwidth":5,"totalCount":2,"totalPageCount":1,"currentPageNo":1,"nextPage":false,"previousPage":false,"showNumList":[1],"result":[{"id":14,"userId":7031,"userName":"Super","userImage":"http://moli2017.oss-cn-zhangjiakou.aliyuncs.com//file/1500473513024c831409d-a0d8-4758-9533-e4f492bc90db.jpg","userFlower":10,"userMoney":5,"inviteUserId":1000539,"inviteUserName":"新用户1","inviteUserImage":"http://moli2017.oss-cn-zhangjiakou.aliyuncs.com/user/userboy.png","inviteUserFlower":2,"inviteUserMoney":1,"deleted":0,"createTime":1503558044000,"updateTime":1503558091000},{"id":13,"userId":7028,"userName":"江山社稷","userImage":"http://moli2017.oss-cn-zhangjiakou.aliyuncs.com//file/14974998288878d60ed2d-aafe-4c30-a539-cffd827a0536.jpg","userFlower":50,"userMoney":10,"inviteUserId":1000539,"inviteUserName":"新用户1","inviteUserImage":"http://moli2017.oss-cn-zhangjiakou.aliyuncs.com/user/userboy.png","inviteUserFlower":10,"inviteUserMoney":2,"deleted":0,"createTime":1503558035000,"updateTime":1503558090000}]},"hashmap":{"total":2,"sumFlower":12,"sumMoney":3}}
     */

    private String code;
    private String message;
    private int total;
    private ResBean res;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public ResBean getRes() {
        return res;
    }

    public void setRes(ResBean res) {
        this.res = res;
    }

    public static class ResBean {
        /**
         * arraylist : {"pageSize":10,"shownumwidth":5,"totalCount":2,"totalPageCount":1,"currentPageNo":1,"nextPage":false,"previousPage":false,"showNumList":[1],"result":[{"id":14,"userId":7031,"userName":"Super","userImage":"http://moli2017.oss-cn-zhangjiakou.aliyuncs.com//file/1500473513024c831409d-a0d8-4758-9533-e4f492bc90db.jpg","userFlower":10,"userMoney":5,"inviteUserId":1000539,"inviteUserName":"新用户1","inviteUserImage":"http://moli2017.oss-cn-zhangjiakou.aliyuncs.com/user/userboy.png","inviteUserFlower":2,"inviteUserMoney":1,"deleted":0,"createTime":1503558044000,"updateTime":1503558091000},{"id":13,"userId":7028,"userName":"江山社稷","userImage":"http://moli2017.oss-cn-zhangjiakou.aliyuncs.com//file/14974998288878d60ed2d-aafe-4c30-a539-cffd827a0536.jpg","userFlower":50,"userMoney":10,"inviteUserId":1000539,"inviteUserName":"新用户1","inviteUserImage":"http://moli2017.oss-cn-zhangjiakou.aliyuncs.com/user/userboy.png","inviteUserFlower":10,"inviteUserMoney":2,"deleted":0,"createTime":1503558035000,"updateTime":1503558090000}]}
         * hashmap : {"total":2,"sumFlower":12,"sumMoney":3}
         */

        private ArraylistBean arraylist;
        private HashmapBean hashmap;

        public ArraylistBean getArraylist() {
            return arraylist;
        }

        public void setArraylist(ArraylistBean arraylist) {
            this.arraylist = arraylist;
        }

        public HashmapBean getHashmap() {
            return hashmap;
        }

        public void setHashmap(HashmapBean hashmap) {
            this.hashmap = hashmap;
        }

        public static class ArraylistBean {
            /**
             * pageSize : 10
             * shownumwidth : 5
             * totalCount : 2
             * totalPageCount : 1
             * currentPageNo : 1
             * nextPage : false
             * previousPage : false
             * showNumList : [1]
             * result : [{"id":14,"userId":7031,"userName":"Super","userImage":"http://moli2017.oss-cn-zhangjiakou.aliyuncs.com//file/1500473513024c831409d-a0d8-4758-9533-e4f492bc90db.jpg","userFlower":10,"userMoney":5,"inviteUserId":1000539,"inviteUserName":"新用户1","inviteUserImage":"http://moli2017.oss-cn-zhangjiakou.aliyuncs.com/user/userboy.png","inviteUserFlower":2,"inviteUserMoney":1,"deleted":0,"createTime":1503558044000,"updateTime":1503558091000},{"id":13,"userId":7028,"userName":"江山社稷","userImage":"http://moli2017.oss-cn-zhangjiakou.aliyuncs.com//file/14974998288878d60ed2d-aafe-4c30-a539-cffd827a0536.jpg","userFlower":50,"userMoney":10,"inviteUserId":1000539,"inviteUserName":"新用户1","inviteUserImage":"http://moli2017.oss-cn-zhangjiakou.aliyuncs.com/user/userboy.png","inviteUserFlower":10,"inviteUserMoney":2,"deleted":0,"createTime":1503558035000,"updateTime":1503558090000}]
             */

            private int pageSize;
            private int shownumwidth;
            private int totalCount;
            private int totalPageCount;
            private int currentPageNo;
            private boolean nextPage;
            private boolean previousPage;
            private List<Integer> showNumList;
            private List<ResultBean> result;

            public int getPageSize() {
                return pageSize;
            }

            public void setPageSize(int pageSize) {
                this.pageSize = pageSize;
            }

            public int getShownumwidth() {
                return shownumwidth;
            }

            public void setShownumwidth(int shownumwidth) {
                this.shownumwidth = shownumwidth;
            }

            public int getTotalCount() {
                return totalCount;
            }

            public void setTotalCount(int totalCount) {
                this.totalCount = totalCount;
            }

            public int getTotalPageCount() {
                return totalPageCount;
            }

            public void setTotalPageCount(int totalPageCount) {
                this.totalPageCount = totalPageCount;
            }

            public int getCurrentPageNo() {
                return currentPageNo;
            }

            public void setCurrentPageNo(int currentPageNo) {
                this.currentPageNo = currentPageNo;
            }

            public boolean isNextPage() {
                return nextPage;
            }

            public void setNextPage(boolean nextPage) {
                this.nextPage = nextPage;
            }

            public boolean isPreviousPage() {
                return previousPage;
            }

            public void setPreviousPage(boolean previousPage) {
                this.previousPage = previousPage;
            }

            public List<Integer> getShowNumList() {
                return showNumList;
            }

            public void setShowNumList(List<Integer> showNumList) {
                this.showNumList = showNumList;
            }

            public List<ResultBean> getResult() {
                return result;
            }

            public void setResult(List<ResultBean> result) {
                this.result = result;
            }

            public static class ResultBean {
                /**
                 * id : 14
                 * userId : 7031
                 * userName : Super
                 * userImage : http://moli2017.oss-cn-zhangjiakou.aliyuncs.com//file/1500473513024c831409d-a0d8-4758-9533-e4f492bc90db.jpg
                 * userFlower : 10.0
                 * userMoney : 5.0
                 * inviteUserId : 1000539
                 * inviteUserName : 新用户1
                 * inviteUserImage : http://moli2017.oss-cn-zhangjiakou.aliyuncs.com/user/userboy.png
                 * inviteUserFlower : 2.0
                 * inviteUserMoney : 1.0
                 * deleted : 0
                 * createTime : 1503558044000
                 * updateTime : 1503558091000
                 */

                private int id;
                private int userId;
                private String userName;
                private String userImage;
                private int userFlower;
                private double userMoney;
                private int inviteUserId;
                private String inviteUserName;
                private String inviteUserImage;
                private double inviteUserFlower;
                private double inviteUserMoney;
                private int deleted;
                private long createTime;
                private long updateTime;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getUserId() {
                    return userId;
                }

                public void setUserId(int userId) {
                    this.userId = userId;
                }

                public String getUserName() {
                    return userName;
                }

                public void setUserName(String userName) {
                    this.userName = userName;
                }

                public String getUserImage() {
                    return userImage;
                }

                public void setUserImage(String userImage) {
                    this.userImage = userImage;
                }

                public int getUserFlower() {
                    return userFlower;
                }

                public void setUserFlower(int userFlower) {
                    this.userFlower = userFlower;
                }

                public double getUserMoney() {
                    return userMoney;
                }

                public void setUserMoney(double userMoney) {
                    this.userMoney = userMoney;
                }

                public int getInviteUserId() {
                    return inviteUserId;
                }

                public void setInviteUserId(int inviteUserId) {
                    this.inviteUserId = inviteUserId;
                }

                public String getInviteUserName() {
                    return inviteUserName;
                }

                public void setInviteUserName(String inviteUserName) {
                    this.inviteUserName = inviteUserName;
                }

                public String getInviteUserImage() {
                    return inviteUserImage;
                }

                public void setInviteUserImage(String inviteUserImage) {
                    this.inviteUserImage = inviteUserImage;
                }

                public double getInviteUserFlower() {
                    return inviteUserFlower;
                }

                public void setInviteUserFlower(double inviteUserFlower) {
                    this.inviteUserFlower = inviteUserFlower;
                }

                public double getInviteUserMoney() {
                    return inviteUserMoney;
                }

                public void setInviteUserMoney(double inviteUserMoney) {
                    this.inviteUserMoney = inviteUserMoney;
                }

                public int getDeleted() {
                    return deleted;
                }

                public void setDeleted(int deleted) {
                    this.deleted = deleted;
                }

                public long getCreateTime() {
                    return createTime;
                }

                public void setCreateTime(long createTime) {
                    this.createTime = createTime;
                }

                public long getUpdateTime() {
                    return updateTime;
                }

                public void setUpdateTime(long updateTime) {
                    this.updateTime = updateTime;
                }
            }
        }

        public static class HashmapBean {
            /**
             * total : 2
             * sumFlower : 12
             * sumMoney : 3
             */

            private int total;
            private int sumFlower;
            private double sumMoney;

            public int getTotal() {
                return total;
            }

            public void setTotal(int total) {
                this.total = total;
            }

            public int getSumFlower() {
                return sumFlower;
            }

            public void setSumFlower(int sumFlower) {
                this.sumFlower = sumFlower;
            }

            public double getSumMoney() {
                return sumMoney;
            }

            public void setSumMoney(double sumMoney) {
                this.sumMoney = sumMoney;
            }
        }
    }
}
